package com.springcontext.factorybean;

import org.springframework.stereotype.Component;

@Component
public class Parent {

  public void doWork(){
    System.out.println("parent doWork");
  }

}
